package com.atgugu.springcloud.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZhangXinWang
 * @date 2023/1/6 22:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommonResult {

    private Integer code;
    private String message;
    private Object data;

    public CommonResult(Integer code,String message){
        this(code,message,null);
    }

}
